package com.zdlyh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdlyh.domain.ResponseResult;
import com.zdlyh.domain.dto.UserDto;
import com.zdlyh.domain.entity.User;
import com.zdlyh.domain.vo.PageVo;

import java.util.List;

public interface UserService extends IService<User> {
    // 获取个人信息
    ResponseResult getUserInfo();

    // 修改个人信息
    ResponseResult updateUserInfo(User user);

    // 用户注册
    ResponseResult register(UserDto user);

    ResponseResult<PageVo> getUserList(Integer pageNum, Integer pageSize, UserDto userDto);

    ResponseResult addUser(UserDto userDto);

    ResponseResult getUserById(Long id);

    ResponseResult updateUser(UserDto userDto);

    ResponseResult deleteUserById(List<Long> userIds);

    ResponseResult changeStatus(UserDto userDto);
}
